﻿namespace SaxParser
{
    using System;

    /// <summary>
    /// Arguments for events ElementEnd and Text
    /// </summary>
    public class MyEventArgs : EventArgs
    {
        #region Constructors

        public MyEventArgs(string action, string text)
        {
            m_Action = action;
            m_Text = text;
        }

        #endregion

        #region Properties

        public string Text
        {
            get { return m_Text; }
        }

        public string Action
        {
            get { return m_Action; }
        }

        #endregion

        #region Fields

        private readonly string m_Text = default(string);
        private readonly string m_Action = default(string);

        #endregion
    }
}
